package com.jfinal.weixin.weixinbot;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;


public class WeixinMsgModel extends Model<WeixinMsgModel>{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static final WeixinMsgModel dao = new WeixinMsgModel();

	private String createTime;
	private int msgType;
	private String groupMsg;
	private String msgId;
	private String newMsgId;
	private String nickName;
	private String remarkName;
	private String text;
	private String content;
	private String fileUrl;
	private String fromUserName;
	private String toUserName;
	private String status;
	private String type;
	private String originalMsg;
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public int getMsgType() {
		return msgType;
	}
	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}
	
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getRemarkName() {
		return remarkName;
	}
	public void setRemarkName(String remarkName) {
		this.remarkName = remarkName;
	}
	public String getGroupMsg() {
		return groupMsg;
	}
	public void setGroupMsg(String groupMsg) {
		this.groupMsg = groupMsg;
	}
	
	public String getMsgId() {
		return msgId;
	}
	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}
	public String getNewMsgId() {
		return newMsgId;
	}
	public void setNewMsgId(String newMsgId) {
		this.newMsgId = newMsgId;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getFileUrl() {
		return fileUrl;
	}
	public void setFileUrl(String fileUrl) {
		this.fileUrl = fileUrl;
	}
	public String getFromUserName() {
		return fromUserName;
	}
	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}
	public String getToUserName() {
		return toUserName;
	}
	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getOriginalMsg() {
		return originalMsg;
	}
	public void setOriginalMsg(String originalMsg) {
		this.originalMsg = originalMsg;
	}
	
	public void saveData() {
		
	}
	
	public List<WeixinMsgModel> findBySql(String sql){
		return find(sql);
	}
	
}
